package com.yuand.mapper;

import com.yuand.entity.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuandong
 * @since 2022-01-14
 */
@Repository
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

	/**
	 * 根据角色删除对应的角色菜单对应关系
	 * @param roleId
	 * @return
	 */
	public int deleteRoleMenuByRoleId(Long roleId);

}
